import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.ui.Messages;
import entity.GitObj;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.lib.Repository;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: xb.yang
 * @Date: 2024/06/13/14:12
 * @Description:
 */
public class GenYaml extends AnAction {

    @Override
    public void actionPerformed(AnActionEvent e) {
        //获取git对象
        //Repository git = GitObj.openRpo();
//        if(git ==null){
//            Messages.showInfoMessage("请先打开一个项目，我才能找到相应的git！", "warning");
//            return;
//        }
//
//        System.out.println("git"+ git);
    }
}
